package com.qijian.maindata.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qijian.maindata.domain.ProcessFileViewHistory;
import com.qijian.maindata.domain.vo.ProcessFileViewStorageVo;
import com.qijian.maindata.domain.vo.ProcessFilesVo;
import com.qijian.tool.domain.Storage;

import java.util.List;

public interface IProcessFileViewHistoryService extends IService<ProcessFileViewHistory> {


    /***
     * 批量上传工艺文件的保存操作
     */
    boolean batchBindFiles(ProcessFilesVo filesVo);

    /**
     * 根据工序id获取批量绑定的文件
     * */
    List<ProcessFileViewStorageVo> getProcessBindFiles(Long processId, Long wuId);

    boolean saveView(ProcessFileViewHistory viewHistory);

    List<Storage> processBindFilesById(Long processId);
}
